#pragma once

namespace mphys
{
	class Box;
	class PhysicsSystem;
}

class GameScene;

struct Brick
{
public:
	XMFLOAT3 Position;
	XMFLOAT4 Orientation;
	XMFLOAT3 Scale;
	bool IsStatic;

	XMFLOAT3 Color;

	mphys::Box * RigidBody;

	float BSphereRadius;
};

void brickInit( Brick & brk, mphys::PhysicsSystem & physSys );
void brickReset( Brick & brk, XMFLOAT3 pos, XMFLOAT4 orient, XMFLOAT3 scale );

void brickDestroy( Brick & brk, mphys::PhysicsSystem & physSys );